package com.itheima.bufferstream;

import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;

/*
BufferedWriter  newLine()
 */
public class Demo02 {

    public static void main(String[] args) throws IOException {
        BufferedWriter writer = new BufferedWriter(new FileWriter("day13\\aaa.txt"));

        writer.write("这是第一行");
       // writer.write("\r\n");//mac  linux
        writer.newLine();
        writer.write("这是第二行");
        writer.close();

    }
}
